home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2466 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  912 b 

  1. Path: asterix.urc.tue.nl!buex95a
  2. From: buex95a@asterix.urc.tue.nl (Marcel van Kervinck)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Passing arguments to a thread
  5. Date: 31 Jan 1996 15:35:40 GMT
  6. Organization: Eindhoven University of Technology, The Netherlands
  7. Message-ID: <4eo28c$im3@tuegate.tue.nl>
  8. References: <4ed1eq$nfi@newsy.ifm.liu.se>
  9. NNTP-Posting-Host: asterix.urc.tue.nl
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Martin Blom (d93marbl@isy.liu.se) wrote:
  13. : Is there a (nice) way to pass arguments to a new process?
  14.  
  15. I usually pass arguments to a new task on it's new stack.
  16. I have to allocate that stack anyway, so there is no harm
  17. in setting up a stackframe. I even go as far as passing
  18. execbase around this way. I mentioned this before in this
  19. group. It seems more elegant than using that ugly $4 fetch.
  20.  
  21.     Marcel
  22. --  _   _
  23.   _| |_|_|
  24.  |_    |_     Marcel van Kervinck
  25.          |_|  buex95a@urc.tue.nl
  26.